//
//  FindPasswordViewController.m
//  Gegeda_music_MY
//
//  Created by lanou3g on 15/11/10.
//  Copyright © 2015年 周莹. All rights reserved.
//

#import "FindPasswordViewController.h"

@interface FindPasswordViewController ()
@property (weak, nonatomic) IBOutlet UITextField *emailOrPhoneNumberTF;

@end

@implementation FindPasswordViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"找回密码";
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)button:(id)sender {
    //发送重置密码邮件到注册邮箱中
    [BmobUser requestPasswordResetInBackgroundWithEmail:self.emailOrPhoneNumberTF.text];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
